/**
 * Created with JetBrains WebStorm.
 * User: mumble
 * Date: 6/23/12
 * Time: 9:10 PM
 * To change this template use File | Settings | File Templates.
 */
module.exports = function(mongoose)
{
    var modelObject = {};
    var Schema = mongoose.Schema,
        ObjectId = Schema.ObjectId;

    var GameConfSchema = new Schema ({
        game_key : String,
        game_name : String,
        path : String,
        min_user : Number,
        max_user : Number
    });
    modelObject.GameConf = mongoose.model('GameConf', GameConfSchema);

    return modelObject;
}
